package com.sneaker.shower.mapstruct;

import com.sneaker.shower.entity.domain.menu.MenuImageDO;
import com.sneaker.shower.entity.dto.MenuImageDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper(componentModel = "spring")
public interface MenuImageMapStruct {
    MenuImageMapStruct INSTANCE = Mappers.getMapper(MenuImageMapStruct.class);

    List<MenuImageDO> dtoList2DOList(List<MenuImageDTO> menuImageDTOS);

    MenuImageDO dto2DO(MenuImageDTO menuImageDTO);

    MenuImageDTO do2DTO(MenuImageDO menuImageDO);
}
